Returning Modified Rows - SELECT Statements with Side Effects

نویسندگان

  • Andreas Behm
  • Serge Rielau
  • Richard Swagerman
چکیده

SQL in the IBM® DB2® Universal DatabaseTM for Linux®, UNIX®, and Windows® (DB2 UDB) database management product has been extended to support nested INSERT, UPDATE, and DELETE operations in SELECT statements. This allows database applications additional processing on modified rows. Within a single unit of work, applications can retrieve a result set containing the modified rows from a table or view modified by an SQL data-change operation. This eliminates the need to select the row after an INSERT or UPDATE, or before a DELETE statement. As a result, fewer network round trips, less server CPU time, fewer cursors, and less server memory are required. In addition, deadlocks can be avoided. The proposed approach is integrated with the set semantics of SQL, and does not require any procedural logic or modifications on the underlying relational data model. Pipelining multiple update, insert and delete operations using the same source data provides a very efficient way for multi-table data-change statements typically found in ETL (extraction, transformation, load) applications. We demonstrate significant performance benefit with our experiences in the TPC-C benchmark. Experimental results show that the new SQL is more efficient in query execution compared to classic SQL.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Effects of word-evoked object size on covert numerosity estimations

We investigated whether the size and number of objects mentioned in digit-word expressions influenced participants' performance in covert numerosity estimations (i.e., property probability ratings). Participants read descriptions of big or small animals standing in short, medium, and long rows (e.g., There are 8 elephants/ants in a row) and subsequently estimated the probability that a health s...

متن کامل

Modified Booth Multiplier using Wallace Structure and Efficient Carry Select Adder

The multiplier forms the core of systems such as FIR filters, Digital Signal Processors and Microprocessors etc. This paper presents a model of two different 16X16 bit multipliers. First is Radix-4 Multiplier with SQRT CSLA and Second one is Radix -4 multiplier with Modified SQRT CSLA. Modified Booth Algorithm is used for Partial Products Generation. Wallace Tree Structure is used to accumulate...

متن کامل

Achilles Tendon Repair, A Modified Technique

  Background: Wound complications following open repair for acute Achilles tendon ruptures (AATR) remain the subject of significant debate. The aim of this study is to investigate the effects of covering repaired AATR using well-nourished connective tissues (paratenon and deep fascia) to avoid complications after open repair.   Methods: In this case series study, open repair was performed for 3...

متن کامل

طراحی، اجرا و بررسی عملکرد مولد میست کروم شش ظرفیتی

Background and aim: The chromium mist generator is an essential tool for research and for making evidence-based recommendations in evaluating air pollution and its control systems. The purpose of this study was to design and construct a homogeneous chromium mist generator and to look at the effects of factors such as sampling height and distance between samplers in side-by-side sampling on the ...

متن کامل

Effectiveness of Modified Agility and Perturbation Training in Patients with Osteoarthritis Knee: A Case Control Study

Objectives: To check and compare the effectiveness of modified agility and perturbation training over conventional physical therapy in patients with knee osteoarthritis. Methods: Subjects were screened on the basis of inclusion and exclusion criteria and a total of 50 subjects were recruited for the study. They were randomly divided into Group A and group B with n=25 each. Results: Group ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004